using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using ST.Application.UserServices.Dtos;
using ST.Domain;
using ST.Domain.Entities;
namespace ST.Application.UserServices
{
    public interface IUserService
    {
        User CheckUser(string userName, string password);
        Task<PagedList<UserDto>> GetUserByDepartment(Guid departmentId, int startPage, int pageSize);
        Task<bool> InsertAsync(UserDto dto);
        Task<bool> UpdateAsync(UserDto dto);
        Task DeleteBatchAsync(List<Guid> ids);
        Task DeleteAsync(Guid id);
        Task<UserDto> GetAsync(Guid id);
    }
}